package org.ihelpuoo.weboo.exception;

public class ActionException extends Exception
{

	private static final long	serialVersionUID	= -1144776107240941832L;

	public ActionException()
	{
		super();
	}

	public ActionException(String message, Throwable cause)
	{
		super(message,cause);
	}

	public ActionException(String message)
	{
		super(message);
	}

	public ActionException(Throwable cause)
	{
		super(cause);
	}

	public static ActionException wrap(Exception e)
	{
		if (e instanceof ActionException)
		{
			return (ActionException)e;
		}
		return new ActionException(e);
	}

}
